home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
3-D Dream Girls
/
3-D Dream Girls.iso
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1994-01-24
|
4KB
|
94 lines
@ECHO OFF
ECHO OFF
CLS
IF (%1)==() GOTO ERROR
IF (%2)==() GOTO ERROR
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO │ 3-D DREAM GIRLS │
ECHO ├──────────────────────────────────────────────────────────┤
ECHO │ │
ECHO │ You have chosen a CD-ROM drive of %1 and a target │
ECHO │ drive of %2. (If this is not correct please press │
ECHO │ 'n' in answer of the question below.) │
ECHO │ │
ECHO │ CD-ROM Drive: %1 Install To: %2 │
ECHO │ │
ECHO │ EXAMPLE - INSTALL D: C: │
ECHO │ ( make sure your type the : ) │
ECHO │ │
ECHO │ The Example installs from a CD-ROM drive of D: to │
ECHO │ a local C: drive. │
ECHO │ │
ECHO │ A sub-directory named 3DDREAM will be created on │
ECHO │ drive %2. The 3-D Dream Girls program files will │
ECHO │ then be extracted to the 3DDREAM sub-directory. │
ECHO │ │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ASK_BAT yes 1 no 2 /h /p " Is this information correct? "
if errorlevel 2 goto END
echo
echo Installing Program...
MD %2\3DDREAM
COPY %1\PROGRAM %2\3DDREAM > nul
echo D %1 >> %2\3DDREAM\THUMB.CFG
GOTO DONE
:dfull
CLS
ECHO.
ECHO.
ECHO
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO │ !!! AN ERROR HAS OCCURRED DURING INSTALLATION !!! │
ECHO. │ │
ECHO │ Please make sure that you have specified a Hard Disk │
ECHO │ as the destination and there is at least 150,000 bytes │
ECHO │ free space. │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ECHO.
GOTO END
:ERROR
ECHO.
ECHO.
ECHO.
ECHO.
ECHO
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO. │ INCORRECT USAGE! │
ECHO │ │
ECHO │ EXAMPLE: ┌───── CD-ROM DRIVE: │
ECHO │ INSTALL D: C: │
ECHO │ └───DESTINATION DRIVE: │
ECHO │ │
ECHO │ ( make sure you type the : ) │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ECHO.
ECHO.
ECHO.
GOTO END
:Done
CLS
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO ┌──────────────────────────────────────────────┐
ECHO │ Installation complete! │
ECHO │ │
ECHO │ Type 3DDREAM and press [Enter] to start │
ECHO └──────────────────────────────────────────────┘
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
%2:
cd \3DDREAM
:END